﻿<%@ Page Language="C#" MasterPageFile="~/home.master" AutoEventWireup="true" CodeFile="login.aspx.cs" Inherits="login" Title="Log In" ValidateRequest="false" %>

<asp:Content ContentPlaceHolderID="head" Runat="Server">
    <fieldset>
        <legend>
            <div style="font-size:25px;color:#F00">Log In</div>    
        </legend>
        <div><asp:ValidationSummary ID="ValidationSummary1" runat="server" ValidationGroup="vl" /></div>        
        <table width="100%" border="0" cellpadding="0" cellspacing="10" style="font-size: 18px">
            <tr>
                <td width="250" align="right">Email</td>
                <td>
                    <asp:TextBox ID="txt_email" class="input_text_view" runat="server"></asp:TextBox>                        
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txt_email"
                        ErrorMessage="Email is not empty." ValidationGroup="vl">*</asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txt_email"
                        ErrorMessage="Email invalid." ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
                        ValidationGroup="vl">*</asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td align="right">Password</td>
                <td>
                    <asp:TextBox ID="txt_password" class="input_text_view" TextMode="Password" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txt_password"
                        ErrorMessage="Password is not empty." ValidationGroup="vl">*</asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td colspan="2" align="center">
                    <asp:Button ID="btn_login" ValidationGroup="vl" class="btnWhite" runat="server" Text="Login" onclick="btn_login_Click" />
                </td>
            </tr>
        </table>
    </fieldset>
    
    <div style="font-size: 15px; color: #F00; padding:10px;text-align:center">
            <b><asp:Label ID="lbl_msg" runat="server" Text=""></asp:Label></b>
    </div>
    
    <fieldset>
        <legend style="font-size:25px;color:#F00">Forget Password</legend>
        <div><asp:ValidationSummary ID="ValidationSummary2" runat="server" ValidationGroup="vl_fp" /></div>
        <table width="100%" border="0" cellpadding="0" cellspacing="10" style="font-size: 18px">
            <tr>
                <td width="250" align="right">Email</td>
                <td>
                    <asp:TextBox ID="txt_email_fpass" class="input_text_view" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator runat="server" ControlToValidate="txt_email_fpass"
                        ErrorMessage="Email is not empty." ValidationGroup="vl_fp">*</asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator runat="server" ControlToValidate="txt_email_fpass"
                        ErrorMessage="Email invalid." ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
                        ValidationGroup="vl_fp">*</asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td colspan="2" align="center">
                    <asp:Button ID="btn_send" ValidationGroup="vl_fp" class="btnWhite" runat="server" 
                        Text="Send" onclick="btn_send_Click" />
                </td>
            </tr>
        </table>
    </fieldset>
</asp:Content>